package com.tjetc.dao;

import com.tjetc.domian.Communityfee;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CommunityfeeMapper {
    int deleteByPrimaryKey(Integer feeid);

    int insert(Communityfee record);

    int insertSelective(Communityfee record);

    Communityfee selectByPrimaryKey(Integer feeid);

    int updateByPrimaryKeySelective(Communityfee record);

    int updateByPrimaryKey(Communityfee record);

    @Select("select * from communityfee where ApartmentID")
    List<Communityfee> list(int apartmentId);
    @Select("select * from communityfee")
    List<Communityfee> selectAll();

    @Select("select * from communityfee order by PaymentDate")
    List<Communityfee> selectAllByDate();
}